package com.happly.happlycloud.dao;

import com.happly.happlycloud.pojo.Cart;
import com.happly.happlycloud.pojo.Paper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PaperMapper {
//    int deleteByPrimaryKey(Integer id);
//
//    int insert(Cart record);
//
//    int insertSelective(Cart record);
//
//    Cart selectByPrimaryKey(Integer id);
//
//    int updateByPrimaryKeySelective(Cart record);
//
//    int updateByPrimaryKey(Cart record);
    public int addPaper(Paper paper);
    public int selecetPaperId();

    List<Paper> findGrade(String username);
}
